package cn.green.core.annos.feature;


import cn.green.core.components.setter.PrimaryKey;
import cn.green.core.components.setter.defImpl.primary.AutoIncreaseId;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * 表主键
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface QPrimary {
    Class<? extends PrimaryKey> primary() default AutoIncreaseId.class;
}
